﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PMS.XCMG.Entity;
using PMS.XCMG.Models;
using PMS.XCMG.Util;

namespace PMS.XCMG.IBusiness
{
    public interface IMaterialBomBusiness : IBusRepository<MaterialBom>
    {
        Task<PageResult<MaterialBom>> GetPageResultAsync(PageInput<MaterialBomQM> query);

        /// <summary>
        /// 尺寸下发
        /// </summary>
        /// <param name="id">BomId</param>
        /// <param name="type">type</param>
        /// <returns></returns>
        Task AssignAsync(string id, string type);
    }
}
